package com.fangcang.elasticsearch;

import java.time.LocalDateTime;

/**
 *  ElasticSearch 查询参数
 * @author hecaiqing
 * @date 2018-11-20 09:32:30
 *
 */
public class EsQueryParam {

	private String index;
	private String indexType;
	private String field;
	private LocalDateTime fromTime;
	private LocalDateTime endTime;
	private String logType;//日志类型
	private String failType;//失败原因
	private String rangeField;//分段查询字段
	private String appName;//应用名称
	private String bizName;//功能模块
	private String chanelCode;//渠道编码
	
	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getBizName() {
		return bizName;
	}

	public void setBizName(String bizName) {
		this.bizName = bizName;
	}

	public String getChanelCode() {
		return chanelCode;
	}

	public void setChanelCode(String chanelCode) {
		this.chanelCode = chanelCode;
	}

	public String getRangeField() {
		return rangeField;
	}

	public void setRangeField(String rangeField) {
		this.rangeField = rangeField;
	}

	public EsQueryParam() {
	}
	
	public EsQueryParam(String index) {
		super();
		this.index = index;
	}

	public String getIndex() {
		return index;
	}

	public void setIndex(String index) {
		this.index = index;
	}

	public String getIndexType() {
		return indexType;
	}

	public void setIndexType(String indexType) {
		this.indexType = indexType;
	}
	
	public String getField() {
		return field;
	}

	public void setField(String field) {
		this.field = field;
	}


	public String getLogType() {
		return logType;
	}

	public void setLogType(String logType) {
		this.logType = logType;
	}

	public LocalDateTime getFromTime() {
		return fromTime;
	}

	public void setFromTime(LocalDateTime fromTime) {
		this.fromTime = fromTime;
	}

	public LocalDateTime getEndTime() {
		return endTime;
	}

	public void setEndTime(LocalDateTime endTime) {
		this.endTime = endTime;
	}

	public String getFailType() {
		return failType;
	}

	public void setFailType(String failType) {
		this.failType = failType;
	}
	
	
}
